<?php

return CMap::mergeArray(
	require(dirname(__FILE__).'/main.php'),
	array(
		'modules'=>array(
			'gii'=>array(
				'class'=>'system.gii.GiiModule',
				'password'=>'root',
			 	// If removed, Gii defaults to localhost only. Edit carefully to taste.
				'ipFilters'=>array('127.0.0.1','::1'),
			),	
		),
		'components'=>array(
			'fixture'=>array(
				'class'=>'system.test.CDbFixtureManager',
			),
			'db'=>array(
				'connectionString' => 'mysql:host=112.78.2.20;dbname=dientudo_anthinhphat',
				'emulatePrepare' => true,
				'username' => 'dientudo',
				'password' => 'T9QpagxW',
				'tablePrefix'=>'yii_',
				'charset' => 'utf8',
				'enableParamLogging'=>true,
			),
			'log'=>array(
				'class'=>'CLogRouter',
				'routes'=>array(
					array(
						'class'=>'CFileLogRoute',
						'levels'=>'test, error, warning',
					),
					// array('class'=>'CWebLogRoute'),
				),
			),
		),
	)
);